#!/bin/sh
READER_PATH=/var/www/vhosts/reader

rm -f $READER_PATH/*.log

rm -f $READER_PATH/feeds/*.xml
$READER_PATH/fetcher.py &> $READER_PATH/fetcher.log

rm -f $READER_PATH/extracts/*.txt
$READER_PATH/extractor.py &> $READER_PATH/extractor.log

$READER_PATH/indexer.py &> $READER_PATH/indexer.log

$READER_PATH/analyzer.py &> $READER_PATH/analyzer.log
